package com.tinysand.advert.support;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 推广单元的关键字维度请求对象
 *
 * Created By TINY
 * Create Time 2020/2/21
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AdKeywordRequest {

    /* 关键字 */
    private List<Keyword> unitKeywords;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Keyword {

        /* 推广单元的id */
        private Long unitId;

        /* 关键字 */
        private String keyword;
    }
}
